.TH std::random_device::operator() 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::random_device::operator() \- std::random_device::operator()

.SH Synopsis
   result_type operator()();  \fI(since C++11)\fP

   Generates a non-deterministic uniformly-distributed random value.

.SH Parameters

   \fI(none)\fP

.SH Return value

   A random number uniformly distributed in [min(), max()].

.SH Exceptions

   Throws an implementation-defined exception derived from std::exception if a random
   number could not be generated.

.SH See also

   min              gets the smallest possible value in the output range
   \fB[static]\fP \fI(C++11)\fP \fI(public static member function)\fP
   max              gets the largest possible value in the output range
   \fB[static]\fP \fI(C++11)\fP \fI(public static member function)\fP
